/**
 * $Revision: 1.0 $
 * $Author: Eric Yang $
 * $Date: Jan 12, 2010 12:51:48 AM $
 *
 * Author: Eric Yang
 * Date  : Jan 12, 2010 12:51:48 AM
 *
 */
package com.gooex.domain.base.hb;

import org.c4j.db.hibernate.type.IntEnumUserType;

import com.gooex.domain.base.emun.OrderStatus;


/**
 * https://www.hibernate.org/312.html<br>
 * This class is used only in the hibernate XML configuration *
 * 
 * @author Eric Yang
 * @version 1.0
 */
public class HBOrderStatusType extends IntEnumUserType<OrderStatus> {

	public HBOrderStatusType() {
		// we must give the values of the enum to the parent.
		super(OrderStatus.class, OrderStatus.values());
	}
}
